import request from '@/utils/bsinRequest';

// 获取字典
export const getDictType = (params: any) => {
  return request('/getDictItemPageList', {
    serviceName: 'DictService',
    methodName: 'getDictItemPageList',
    bizParams: {
      ...params,
    },
  });
};

// 获取合约协议
export const getContractProtocols = (params: any) => {
  return request('/getContractTemplates', {
    serviceName: 'AdminContractProtocolService',
    methodName: 'getContractProtocolByTenantId',
    bizParams: {
      ...params,
    },
  });
};
